#!/usr/bin/python
# Filename: str_methods.py

name = 'Swaroop'

if name.startswith('Swap'):
    print 'Yes, the string starts with "Swap"'
if 'a' in name:
    print "Yes, it contains the string 'a' "

#if name.find('war') == True:
if name.find('war') != -1:
    print 'Yes, it contains the string "war" '

delimiter = '_*_'
mylist = ['Brazil', 'Russia', 'India', 'China']
print delimiter.join(mylist)
